$(function() {
	
	$("#prize_btn").click(function(){
		TU.loading($("#prizeshow"));
		$("#prize_btn").attr({"disabled":"disabled"});
		$.get("../welcome/getprize",
		        function(i){
		            TU.remove_loading($("#prizeshow"));
		            $("#prize_btn").removeAttr("disabled");
		            if( i.status==1){
		                $("#prizeshow").html(i.data);
		                
		            }else{
		                TU.msgbox.alert($("#prizeshow").offset().top,i.info)
		            }
		        },"json");
		
	});   
});